Public Methods |
| Stream () |
virtual | ~Stream () |
bool | is_valid () const |
| operator bool () const |
bool | set_metadata_respond (::FLAC__MetadataType type) |
bool | set_metadata_respond_application (const FLAC__byte id[4]) |
bool | set_metadata_respond_all () |
bool | set_metadata_ignore (::FLAC__MetadataType type) |
bool | set_metadata_ignore_application (const FLAC__byte id[4]) |
bool | set_metadata_ignore_all () |
State | get_state () const |
unsigned | get_channels () const |
::FLAC__ChannelAssignment | get_channel_assignment () const |
unsigned | get_bits_per_sample () const |
unsigned | get_sample_rate () const |
unsigned | get_blocksize () const |
State | init () |
void | finish () |
bool | flush () |
bool | reset () |
bool | process_single () |
bool | process_until_end_of_metadata () |
bool | process_until_end_of_stream () |
Protected Methods |
virtual::FLAC__StreamDecoderReadStatus | read_callback (FLAC__byte buffer[], unsigned *bytes)=0 |
virtual::FLAC__StreamDecoderWriteStatus | write_callback (const::FLAC__Frame *frame, const FLAC__int32 *const buffer[])=0 |
virtual void | metadata_callback (const::FLAC__StreamMetadata *metadata)=0 |
virtual void | error_callback (::FLAC__StreamDecoderErrorStatus status)=0 |
Protected Attributes |
::FLAC__StreamDecoder * | decoder_ |